using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.JobClass
{
    public partial class Show : System.Web.UI.Page
    {        
        		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
                if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
                {
                    int classId = int.Parse(Request.Params["id"]);
                    ShowInfo(classId);
                }
                else {
                    Response.Redirect("index.aspx");
                    Response.End();
                }
                
			}
		}
		
	private void ShowInfo(int classId)
	{
        Navigation011.Para_Str = "id=" + classId;
        Maticsoft.BLL.Jobs.Job_class bll = new Maticsoft.BLL.Jobs.Job_class();
        Maticsoft.Model.Jobs.Job_class model = bll.GetModel(classId);
        this.lblclassId.Text = model.classId.ToString();
		this.lblclassName.Text=model.className;
		this.lblclassDesc.Text=model.classDesc;

	}


    }
}
